<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.7"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: D:/OneDrive - 30xn56/文件/2竞赛，大创相关/02机器人/06传承代码/01待改进/RTS_DJI_A/USER/Src/M3508.c</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">My Project<span id="projectnumber">&#160;1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.7 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="headertitle"><div class="title">D:/OneDrive - 30xn56/文件/2竞赛，大创相关/02机器人/06传承代码/01待改进/RTS_DJI_A/USER/Src/M3508.c</div></div>
</div><!--header-->
<div class="contents">
<p>分析C620电调反馈的数据.</p>
<p>分析C620电调反馈的数据.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">canmsg</td><td>CAN消息指针 canmsg-&gt;StdId: CAN消息标准ID canmsg-&gt;Data: CAN消息数据 canmsg-&gt;Data[0]:转子机械角度高8位 canmsg-&gt;Data[1]:转子机械角度低8位 canmsg-&gt;Data[2]:转子转速高8位 canmsg-&gt;Data[3]:转子转速低8位 canmsg-&gt;Data[4]:实际转矩电流高8位 canmsg-&gt;Data[5]:实际转矩电流低8位 canmsg-&gt;Data[6]:电机温度 canmsg-&gt;Data[7]:NULL canmsg-&gt;DLC: CAN消息数据长度</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>none</dd></dl>
<dl class="section note"><dt>Note</dt><dd>该函数用于分析C620电调反馈的数据，包括转子机械角度、转速、电流、温度等信息。 输入参数canmsg包括CAN消息标准ID、数据和数据长度。 该函数不返回任何值。 发送频率：1KHz 转子机械角度值范围：0~8191（对应0~360°） 转子转速值单位：RPM 电机温度单位：℃</dd></dl>
<p>CanRxMsg canmsg; Motor_Analyze(&amp;canmsg);</p>
<div class="fragment"> </div><!-- fragment --><p> - 30xn56/文件/2竞赛，大创相关/02机器人/06传承代码/01待改进/RTS_DJI_A/USER/Src/M3508.c </p>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7
</small></address>
</body>
</html>
